package com.zy.springcloud.movie.dao;

import com.zy.springcloud.movie.bean.Movie;
import org.springframework.stereotype.Repository;

@Repository
public class MovieDao {
    public Movie getNewMovie(Integer id) {
        Movie movie = new Movie();
        movie.setId(id);
        movie.setName("战狼");
        System.out.println("====success===");
        return movie;
    }
}